package cn.coco.jf.fw.admin.model;

import cn.coco.jf.fw.admin.config.consts.SysConsts;

import com.jfinal.plugin.activerecord.Model;

public class DictModel extends Model<DictModel>{
    private static final long serialVersionUID = 1L;

    public static DictModel dao = new DictModel().use(SysConsts.DATA_SOURCE_NAME_MYSQL);

    public static DictModel newInstance(){
        return new DictModel().use(SysConsts.DATA_SOURCE_NAME_MYSQL);
    }

    public DictModel(){
        use(SysConsts.DATA_SOURCE_NAME_MYSQL);
    }
    
    private String code;
    private String codeName;
    private String dataStatus;

    public String getCode() {
        return get("code");
    }

    public void setCode(String code) {
        set("code", code);
    }

    public String getCodeName() {
        return get("codeName");
    }

    public void setCodeName(String codeName) {
        set("codeName", codeName);
    }

    public String getDataStatus() {
        return get("dataStatus");
    }

    public void setDataStatus(String dataStatus) {
        set("dataStatus", dataStatus);
    }
    
    
}
